package com.qzyh.esb.egsa.bean.vo;

import com.qzyh.esb.egsa.bean.bo.ParentTreeNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@AllArgsConstructor
@ApiModel("菜单树形VO")
@ToString
public class UserMenuTreeVO extends ParentTreeNode<UserMenuTreeVO> {

    @ApiModelProperty("路由路径")
    private String path;

    @ApiModelProperty("路由名称")
    private String name;

    @ApiModelProperty("组件路径")
    private String component;

    @ApiModelProperty("路由重定向")
    private String redirect;

    @ApiModelProperty("meta")
    private UserMenuMeta meta;

    @ApiModelProperty("子节点")
    private List<UserMenuTreeVO> children;

}
